package com.data1.common.core.domain.model;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 密码登录对象
 *
 * @author luffyxin
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PasswordLoginBody  {

    /**
     * 用户名
     */
    @NotBlank(message = "{user.username.not.blank}")
    private String username;

    /**
     * 用户密码
     */
    @NotBlank(message = "{user.password.not.blank}")
    private String password;

}
